package com.example.ass7.collision;

import com.example.ass7.sprite.Ball;
import com.example.ass7.sprite.Block;
import com.example.ass7.sprite.Paddle;

/**
 * @author Meirav Ben Izhak
 */
public interface HitListener {
    // This method is called whenever the beingHit object is hit.
    // The hitter parameter is the Ball that's doing the hitting.
    /**
     * @param beingHit
     *            beingHit
     * @param beingHit2
     *            beingHit2
     * @param hitter
     *            hitter
     */
    void hitEvent(Block beingHit, Paddle beingHit2, Ball hitter);
}
